package com.fhao.aop.controller;

import com.fhao.aop.config.MyAspect;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/test2")
public class TestController2 implements Iface {
    @MyAspect
    @RequestMapping("/test1")
    public void test() {
        System.out.println("测试");
    }
}
